package com.fms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.*;

import java.time.LocalTime;

@Builder
@Setter
@Getter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AttendanceTask extends BasePojo{
        private LocalTime inDeadline; //'最晚签到时间'
        private LocalTime outDeadline; //'最早签退时间'
        private LocalTime startTime;//开始时间
        @TableField("week_day")
        private String weekDaysString;  //'一周指定星期，格式以逗号分隔“1,2,3”'
        private Double longitude;  //'地点经度'
        private Double latitude; //private '地点纬度'
        private Integer status; //'状态，0：已禁用(生效后无法禁用)，1：已创建（可修改），2：已生效（不可修改）'
        @TableLogic
        private Integer isDeleted;//'删除（签到中无法删除）'
}
